package com.parenting.feign.controller;

import com.parenting.feign.entities.ParentingShopDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "shop-applet-server", path = "/" ,configuration = FeignClientProperties.FeignClientConfiguration.class)
public interface IFeignSystemAppletShopController {

     @ApiOperation(value = "店铺详情查询")
     @GetMapping("/api/shop/{shopId}")
     ParentingShopDTO getShopByShopId(@PathVariable("shopId") String shopId);

}
